package com.example.provider.service.impl;

import com.example.common.service.ShopList;
import com.example.provider.mapping.UserMapping;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service
public class ProviderServiceImpl implements ShopList {
    @Override
    public List getShopList() {
        System.out.println("----------provider-----");
        List<Map> list = new ArrayList<>();
        Map map = new HashMap();
        map.put("name","zhangshan");
        map.put("age","20");
        list.add(map);
        return list;
    }
}
